package com.cisdi.info.mh.entity.information;

import com.cisdi.info.simple.entity.base.*;
import javax.persistence.*;
import java.io.Serializable;
import com.cisdi.info.simple.annotation.DColumn;
import com.cisdi.info.simple.annotation.DEntity;

import java.util.Date;

@DEntity(label="资讯",comment="",moduleLabel="资讯管理")
@Entity(name="mh_information")
public class Information extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	@DColumn(index=3,label="序列号",comment="序列号")
	@Column(name="serial_number",length=25,nullable=true,unique=false)
	private String serialNumber;

	@DColumn(index=4,label="标题",comment="资讯标题")
	@Column(name="information_title",length=100,nullable=false,unique=false)
	private String informationTitle;

	@DColumn(index=5,label="发布时间",comment="发布时间")
	@Column(name="creation_time",length=255,nullable=false,unique=false)
	private Date creationTime;

	@DColumn(index=6,label="资讯类型",comment="资讯类型")
	@Column(name="information_type",length=25,nullable=true,unique=false)
	private String informationType;

	@DColumn(index=7,label="作者",comment="作者")
	@Column(name="author",length=25,nullable=true,unique=false)
	private String author;

	@DColumn(index=8,label="来源",comment="来源")
	@Column(name="source",length=25,nullable=true,unique=false)
	private String source;

	@DColumn(index=9,label="pc发布渠道",comment="是否在pc发布")
	@Column(name="publishing_to_pc",length=255,nullable=false,unique=false)
	private Boolean publishingToPc;

	@DColumn(index=10,label="App发布渠道",comment="是否在app发布")
	@Column(name="publishing_to_app",length=255,nullable=false,unique=false)
	private Boolean publishingToApp;

	@DColumn(index=11,label="微信发布渠道",comment="是否在微信发布")
	@Column(name="publishing_to_wechat",length=255,nullable=false,unique=false)
	private Boolean publishingToWechat;

	@DColumn(index=12,label="关键词",comment="关键词")
	@Column(name="key_words",length=100,nullable=true,unique=false)
	private String keyWords;

	@DColumn(index=13,label="首页轮播",comment="是否轮播")
	@Column(name="home_carousel",length=255,nullable=false,unique=false)
	private Boolean homeCarousel;

	@DColumn(index=14,label="内容",comment="内容")
	@Column(name="content",length=10000,nullable=false,unique=false)
	private String content;


	public String getSerialNumber() {
		return this.serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public String getInformationTitle() {
		return this.informationTitle;
	}

	public void setInformationTitle(String informationTitle) {
		this.informationTitle = informationTitle;
	}

	public Date getCreationTime() {
		return this.creationTime;
	}

	public void setCreationTime(Date creationTime) {
		this.creationTime = creationTime;
	}

	public String getInformationType() {
		return this.informationType;
	}

	public void setInformationType(String informationType) {
		this.informationType = informationType;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Boolean getPublishingToPc() {
		return this.publishingToPc;
	}

	public void setPublishingToPc(Boolean publishingToPc) {
		this.publishingToPc = publishingToPc;
	}

	public Boolean getPublishingToApp() {
		return this.publishingToApp;
	}

	public void setPublishingToApp(Boolean publishingToApp) {
		this.publishingToApp = publishingToApp;
	}

	public Boolean getPublishingToWechat() {
		return this.publishingToWechat;
	}

	public void setPublishingToWechat(Boolean publishingToWechat) {
		this.publishingToWechat = publishingToWechat;
	}

	public String getKeyWords() {
		return this.keyWords;
	}

	public void setKeyWords(String keyWords) {
		this.keyWords = keyWords;
	}

	public Boolean getHomeCarousel() {
		return this.homeCarousel;
	}

	public void setHomeCarousel(Boolean homeCarousel) {
		this.homeCarousel = homeCarousel;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}


	
}